Get all columns from three tables only if field exists in all three tables